package CIF::Archive::DataType::Plugin::Url::Malware;
use base 'CIF::Archive::DataType::Plugin::Url';

__PACKAGE__->table('url_malware');

sub prepare {
    my $class = shift;
    my $info = shift;
    return(0) unless($info->{'impact'} =~ /(malware|malicious)/);
    return('malware');
}

1;
